<div class="ss_tabs">
	<!--{if isset($is_custom_site)}-->
	<div class="item current" rel="custom_sites">我的定制(<span class="custom_count">0</span>)</div>
	<div class="item" rel="city_sites">{$city_name}团购</div>
	<!--{else}-->
	<div class="item current" rel="city_sites">{$city_name}团购</div>
	<!--{/if}-->
	<div class="item" rel="all_sites">所有团购</div>
	<!--{if count($_FANWE['cache']['site']['bests']) > 0}-->
	<div class="item" rel="best_sites">推荐团购</div>
	<!--{/if}-->
	<div class="btns">
		<input type="button" class="save_select_site smallbtn" value="保存" />
	</div>
	<div class="line"></div>
</div>
<div class="ss_content">
	<!--{eval $sites_box_first = 'sites_box_current';}-->
	<!--{if isset($is_custom_site)}-->
	<div class="sites_box sites_box1 $sites_box_first" rel="custom_sites">
	<!--{dynamic getUserCustomSite}-->
	</div>
	<!--{eval $sites_box_first = '';}-->
	<!--{/if}-->
	<div class="sites_box $sites_box_first" rel="city_sites">
		<ul class="sites_py">
			<!--{eval $first = ' class="current"';}-->
			<!--{loop $_FANWE['cache']['city_site_'.CURRENT_CITY_PY]['py'] $site_py $site_ids}-->
			<li rel="$site_py"$first><a href="javascript:;">$site_py</a></li>
			<!--{eval $first = '';}-->
			<!--{/loop}-->
		</ul>
		<!--{eval $first = ' class="current"';}-->
		<!--{loop $_FANWE['cache']['city_site_'.CURRENT_CITY_PY]['py'] $site_py $site_ids}-->
		<dl rel="$site_py"$first>
			<dt>$site_py</dt>
			<dd>
				<!--{loop $site_ids $site_id}-->
				<!--{eval $site = $_FANWE['cache']['site']['all']['s_'.$site_id];}-->
				<label><input type="checkbox" name="site_ids" value="$site_id" class="site_id_$site_id" /><span>$site[name]</span></label>
				<!--{/loop}-->
			</dd>
		</dl>
		<!--{eval $first = '';}-->
		<!--{/loop}-->
	<!--{eval $sites_box_first = '';}-->
	</div>
	<div class="sites_box" rel="all_sites">
		<ul class="sites_py">
			<!--{eval $first = ' class="current"';}-->
			<!--{loop $_FANWE['cache']['site']['py'] $site_py $site_ids}-->
			<li rel="$site_py"$first><a href="javascript:;">$site_py</a></li>
			<!--{eval $first = '';}-->
			<!--{/loop}-->
		</ul>
		<!--{eval $first = ' class="current"';}-->
		<!--{loop $_FANWE['cache']['site']['py'] $site_py $site_ids}-->
		<dl rel="$site_py"$first>
			<dt>$site_py</dt>
			<dd>
				<!--{loop $site_ids $site_id}-->
				<!--{eval $site = $_FANWE['cache']['site']['all']['s_'.$site_id];}-->
				<label><input type="checkbox" name="site_ids" value="$site_id" class="site_id_$site_id"/><span>$site[name]</span></label>
				<!--{/loop}-->
			</dd>
		</dl>
		<!--{eval $first = '';}-->
		<!--{/loop}-->
	</div>
	<!--{if count($_FANWE['cache']['site']['bests']) > 0}-->
	<div class="sites_box sites_box1" rel="best_sites">
		<!--{loop $_FANWE['cache']['site']['bests'] $site_id}-->
		<!--{eval $site = $_FANWE['cache']['site']['all']['s_'.$site_id];}-->
		<label><input type="checkbox" name="site_ids" value="$site_id" class="site_id_$site_id"/><span>$site[name]</span></label>
		<!--{/loop}-->
	</div>
	<!--{/if}-->
</div>